Resource StructureDefinition/FHIR Server from package bonsai.first.test.r4#0.1.9 (110 ms)
Resources that use this resource
Resources that this resource uses
Source
{
"resourceType" : "StructureDefinition",
"url" : "http://electronichealth.se/fhir/StructureDefinition/NLLProvenance",
"version" : "2.0.0",
"name" : "NLLProvenance",
"status" : "active",
"experimental" : false,
"date" : "2024-12-17",
"publisher" : "Swedish eHealth Agency",
"description" : "A profile of Provenance that is compatible with all scenarios in the Swedish National Medication List.",
"fhirVersion" : "4.0.1",
"mapping" : [
{
"identity" : "EHM",
"name" : "E-hälsomyndigheten concept"
}
],
"kind" : "resource",
"abstract" : false,
"type" : "Provenance",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Provenance",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "Provenance",
"path" : "Provenance",
"short" : "When a change is made in the patient´s medication list a provenance provides information about who, what, when and where from the change is made.",
"definition" : "NLLProvenance describes a change that has been made on a resource affecting a patient medications list, e.g. a MedicationRequest, MedicationDispense or resource related to multi dose dispensing (sv: dosunderlag, dossamtycke) or a change affecting a data lock (sv spärr). The change describes What - in the form of which resource is the target in combination with a reason and activity. It describes by Who - in the form of agent and it describes When it occurred.\r\nA Provenance resource is created fron the X-Provenance header wich is mandatory in a number of scenarios.",
"mapping" : [
{
"identity" : "EHM",
"map" : "Händelse"
}
]
},
{
"id" : "Provenance.id",
"path" : "Provenance.id",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Händelse-id"
}
]
},
{
"id" : "Provenance.target",
"path" : "Provenance.target",
"definition" : "The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.\r\nThe Reference is set by the Swedish eHealth Agency to the resource in the body of the request containing the X-Provenance header, and in some cases the target may also point to additional affected resources .",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest",
"http://electronichealth.se/fhir/StructureDefinition/NLLMedicationDispense",
"http://electronichealth.se/fhir/StructureDefinition/NLLMultiDoseDispConsent",
"http://electronichealth.se/fhir/StructureDefinition/NLLMultiDoseDispensingBasis",
"http://electronichealth.se/fhir/StructureDefinition/NLLDispensePaperPrescription",
"http://electronichealth.se/fhir/StructureDefinition/NLLDataLock",
"http://electronichealth.se/fhir/StructureDefinition/NLLAccessConsent"
],
"aggregation" : [
"referenced"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Resursreferenser"
},
{
"identity" : "EHM",
"map" : "Referens till spärr"
}
]
},
{
"id" : "Provenance.occurred[x]",
"path" : "Provenance.occurred[x]",
"comment" : "This value is set by the system to reflect the date and time when the request was received",
"type" : [
{
"code" : "dateTime"
}
],
"mapping" : [
{
"identity" : "EHM",
"map" : "Tidpunkt"
}
]
},
{
"id" : "Provenance.recorded",
"path" : "Provenance.recorded",
"definition" : "The instant of time at which the activity was recorded by the Swedish eHealth Agency.",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Händelsetidpunkt"
}
]
},
{
"id" : "Provenance.reason",
"path" : "Provenance.reason",
"definition" : "The reason for the change. <br>\r\nFor prescriptions, codes can be used to describe either a reason for change or a reason for cancellation.\r\nFor other scenarios regarding prescriptions, only the text element is allowed (in combination with the code OTH).\r\nFor all scenarios regarding medication dispense, only the text element is allowed.\r\nFor all scenarios regarding Consents (NLLMultiDoseDispConsent (sv Dossamtycke), NLLAccessConsent (sv. Åtkomstsamtycke)), NLLMultiDoseDispensingBasis (sv Dosunderlag) and NLLDataLock (sv Spärr) no reason is allowed.",
"comment" : "_",
"max" : "1",
"mustSupport" : true,
"binding" : {
"strength" : "extensible",
"valueSet" : "http://electronichealth.se/fhir/ValueSet/nll-reason-for-provenance"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Händelseorsak"
}
]
},
{
"id" : "Provenance.reason.coding",
"path" : "Provenance.reason.coding",
"max" : "1",
"mustSupport" : true
},
{
"id" : "Provenance.reason.coding.system",
"path" : "Provenance.reason.coding.system",
"mustSupport" : true
},
{
"id" : "Provenance.reason.coding.version",
"path" : "Provenance.reason.coding.version",
"mustSupport" : true
},
{
"id" : "Provenance.reason.coding.code",
"path" : "Provenance.reason.coding.code",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Provenance.reason.text",
"path" : "Provenance.reason.text",
"definition" : "Plain text representation of the reason that the activity was taking place. \r\nMandatory when the code \"OTH\" (other) is used.\r\nCan be used for all scenarios regarding prescriptions and dispenses that does not require a code.",
"comment" : "Maximum string length: 256\r\nFor reasons related to dispensens for paper prescriptions the maximum string length is: 50",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Beskrivning händelseorsak"
}
]
},
{
"id" : "Provenance.activity",
"path" : "Provenance.activity",
"definition" : "This type describes the activity that occurred. This could both be a medication list activity type concerning a MedicationRequest for example, or a data lock activity type.",
"comment" : "_",
"min" : 1,
"mustSupport" : true,
"binding" : {
"strength" : "required",
"valueSet" : "http://ehalsomyndigheten.se/fhir/ValueSet/provenance-activity-types"
},
"mapping" : [
{
"identity" : "EHM",
"map" : "Händelsetyp"
}
]
},
{
"id" : "Provenance.activity.coding",
"path" : "Provenance.activity.coding",
"min" : 1,
"max" : "1",
"mustSupport" : true
},
{
"id" : "Provenance.activity.coding.system",
"path" : "Provenance.activity.coding.system",
"mustSupport" : true
},
{
"id" : "Provenance.activity.coding.version",
"path" : "Provenance.activity.coding.version",
"mustSupport" : true
},
{
"id" : "Provenance.activity.coding.code",
"path" : "Provenance.activity.coding.code",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Provenance.agent",
"path" : "Provenance.agent",
"definition" : "Allowed actors are: enterer (sv: utförare) and author (sv: uppdragsgivare). Enterer MUST always be present, author CAN be present in case a practitioner is performing a change on behalf of someone",
"requirements" : "_",
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Uppdragsgivare"
},
{
"identity" : "EHM",
"map" : "Utförare"
}
]
},
{
"id" : "Provenance.agent.type",
"path" : "Provenance.agent.type",
"comment" : "_",
"min" : 1,
"mustSupport" : true,
"binding" : {
"strength" : "extensible",
"valueSet" : "http://electronichealth.se/fhir/ValueSet/provenance-participant-types"
}
},
{
"id" : "Provenance.agent.who",
"path" : "Provenance.agent.who",
"definition" : "The individual that participated in the event. NB! Only a DataLock Provenance can contain a reference to a Patient resource.",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
"http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner",
"http://electronichealth.se/fhir/StructureDefinition/NLLPatient"
],
"aggregation" : [
"contained",
"referenced"
]
}
],
"mustSupport" : true,
"mapping" : [
{
"identity" : "EHM",
"map" : "Uppdragsgivare / Utförare",
"comment" : "Depending on type, this is the practitioner acting as the performer (sv: utförare) or author (sv: uppdragsgivare)"
}
]
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.